package com.stylefeng.guns.modular.customer.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.customer.transfer.SaleXlsM;
import com.stylefeng.guns.modular.system.model.Sale;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 销售配套 服务类
 * </p>
 *
 * @author yinjc123
 * @since 2018-04-03
 */
public interface ISaleService extends IService<Sale> {

    List<Map<String,Object>> selectSalesPage(Page<Sale> page, Integer customerCompanyId, String customerCompanyName);

    void insertXlsList(List<SaleXlsM> xlsMList);

    void deleteByCustomerCompanyId(Integer customerCompanyId);
}
